<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery.min.js"></script>
 <script type="text/javascript" src="js/jquery.qrcode.min.js"></script>
</head>
<body>
<div id="code"></div> 
</body>
<script type="text/javascript">
$("#code").qrcode({ 
    render: "table", //table方式 
    width: 200, //宽度 
    height:200, //高度 
    text: "www.dd.com" //任意内容 
}); 
</script>
</html>